/*
	Name: 	shared.lua
	Side:	SHARED
	
	Role: 	This file is included both serverside and clientside.
			Contains definitions and initialisations required both on the server and client.
			
			This Includes:
				setting gamemode metadata
				defining shared global variables
				creating teams
			
	NOTES:	
			Coco: We can use 'GM' instead of 'ZM' as a place to store stuff, should probably scrap the ZM at some point
*/

GM.Name 	= "Zombie Survival"
GM.Author 	= "Skuli + Coco"
GM.Email 	= "N/A"
GM.Website 	= "N/A"

-- A table to hold any functions or data for the gamemode
ZS = {}

-- Enumerations, so you can use the names instead of the values...
ZS.TEAM_HUMAN = 1
ZS.TEAM_SPECTATOR = 2

-- Create The Gamemode Teams
team.SetUp( ZS.TEAM_HUMAN, "Human", Color( 255, 125, 0, 255 ), true ) -- Humans, not the zombies
team.SetUp( ZS.TEAM_SPECTATOR, "Spectator", Color( 200, 200, 200, 255 ), true ) -- Spectators, invisible flying ghosty people